package two.chapter_1.c1_4;

import edu.princeton.cs.algs4.StdOut;

public class Ex1_4_24 {


    public static void main(String[] args) {
        int floors=1000000000;
        EggDropper eggDropper=new EggDropper();
        Stopwatch stopwatch=new Stopwatch();
        StdOut.println(eggDropper.dropEgg(floors));
        StdOut.println(stopwatch.elapseTime());


        Stopwatch stopwatch2=new Stopwatch();
        StdOut.println(eggDropper.dropEggFast(floors));
        StdOut.println(stopwatch2.elapseTime());
    }




}
